package express.bttree;

public class ParallelNode extends Node{
    @Override
    public State execute(Object target) {
        for (Node child : this.children) {
            State ok = child.execute(target);
            if(ok == State.Break) {
                return State.Break;
            }
        }
        return State.True;
    }
}
